
import os
from django.conf import settings
from celery import Celery,platforms

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zb_outbound.settings")
app = Celery('zb_outbound')
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
platforms.C_FORCE_ROOT = True

@app.task()
def debug_task(self):
    print('Request: {0!r}'.format(self.request))